package com.sdut.encryption.pojo;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;

/**
 * 超级管理员类。
 */
@Alias("Admin")
public class Admin implements Serializable {
    /**
     * 主键
     */
    private Long rowId;
    /**
     * 账号
     */
    private String adminCode;
    /**
     * 密码
     */
    private String adminPass;

    public Long getRowId() {
        return rowId;
    }

    public void setRowId(Long rowId) {
        this.rowId = rowId;
    }

    public String getAdminCode() {
        return adminCode;
    }

    public void setAdminCode(String adminCode) {
        this.adminCode = adminCode;
    }

    public String getAdminPass() {
        return adminPass;
    }

    public void setAdminPass(String adminPass) {
        this.adminPass = adminPass;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "rowId='" + rowId + '\'' +
                ", adminCode='" + adminCode + '\'' +
                ", adminPass='" + adminPass + '\'' +
                '}';
    }
}
